﻿<controls:ChildWindow
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
           xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk" x:Class="OpenRPOSBackOffice.Options"
           Width="210" Height="290" 
           Title="Options">
    <Grid x:Name="LayoutRoot" Margin="2">
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>

        <sdk:Label x:Name="lblOptionGroups" HorizontalAlignment="Left" Height="18" Margin="6,2,0,0" VerticalAlignment="Top" Width="120" Content="Option Groups"/>
        <ListBox x:Name="lbOptionGroups" HorizontalAlignment="Left" Height="140" Margin="6,21,0,0" VerticalAlignment="Top" Width="172" />
        <Button x:Name="btnAddOptionGroup" Content="Add" HorizontalAlignment="Left" Margin="6,166,0,0" VerticalAlignment="Top" Width="46" Click="btnAddOptionGroup_Click" />
        <Button x:Name="btnRemoveOptionGroup" Content="Remove" HorizontalAlignment="Left" Margin="57,166,0,0" VerticalAlignment="Top" Width="65" Click="btnRemoveOptionGroup_Click" />
        <Button x:Name="btnUpOptionGroup" HorizontalAlignment="Left" Margin="127,166,0,0" VerticalAlignment="Top" Width="22" RenderTransformOrigin="0.5,0.5" Height="22" Click="btnUpOptionGroup_Click" >
            <Path Fill="Black" Data="M 0 6 L 12 6 L 6 0 Z" UseLayoutRounding="False"/>
        </Button>
        <Button x:Name="btnDownOptionGroup" HorizontalAlignment="Left" Margin="155,166,0,0" VerticalAlignment="Top" Width="22" RenderTransformOrigin="0.5,0.5" Height="22" Click="btnDownOptionGroup_Click" >
            <Path Fill="Black" Data="M 0 0 L 6 6 L 12 0 Z" UseLayoutRounding="False"/>
        </Button>
        <Button x:Name="OKButton" Content="OK" Click="OKButton_Click" Width="75" HorizontalAlignment="Right" Margin="0,10,79,0" Grid.Row="1" />
        <Button x:Name="CancelButton" Content="Cancel" Click="CancelButton_Click" Width="75" HorizontalAlignment="Right" Margin="0,10,0,0" Grid.Row="1" />
    </Grid>
</controls:ChildWindow>